package com.shenfc.fxzj.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 作者：沈飞超
 * 功能描述：
 * 创建日期：2018/3/29 14:58
 */
@Configuration
@PropertySource(value = "classpath:conf/test.properties")
@ConfigurationProperties(prefix = "com.forezp")
public class User {

    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
